package com.itheima.goods.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.goods.pojo.Brand;
import entity.Result;

public interface BrandService extends IService<Brand>{
    Result<Brand> findAll();

    Result<Brand> findPage(Integer page, Integer size);

    Result<Brand> TfindPage(Integer page, Integer size,Brand brand);

    Result<Brand> findById(Integer id);

    Result updateById1(Brand brand,Integer id);

    Result deleteById(Integer id);

    Result addBrand(Brand brand);
}
